<?php
    require_once($_SERVER["DOCUMENT_ROOT"]."/modules/security_mod.php");
    
    SecurityMod::login("?returnurl=scripts");
    
    if (!isset($_SESSION["account"]))
        SecurityMod::logout();
    
?>

<html>
<head>
<link rel="stylesheet" href="main.css">
<script src="main.js" type="text/javascript"></script>
<script src="info.js" type="text/javascript"></script>
</head>
<title>Falcon Infocenter :: GM Scripts</title>
<body>
	<h2 align="center">GMscripts Download</h2>
	<table align="center" width="900">
	<tr>
		<td align="center">
			<table background="http://static.pardus.at/images/bgd.gif" class="messagestyle" align="center" width="100%">
			<tr>
				<td align="center" colspan="3" bgcolor="FF0000"><font color="00001C" size="+1"><b>-- FCC scripts --</b></font></td>
			</tr> 
			<tr>
				<th align="left">&nbsp;<u>Script</u></th>
				<th align="left">&nbsp;<u>Details</u></th>
				<th align="left">&nbsp;<u>Notes</u></th>
			</tr>	
			<tr bgcolor="#0b0b2f" onMouseOver="chOn(this)" onMouseOut="chOut(this)" onClick="chClick(this)">
				<td align="left" style="cursor:crosshair">&nbsp;<a href="dynascript/dynascriptcontrolpanel.user.js" target="_blank">DynaScript control panel</a></td>
				<td align="left" style="cursor:crosshair">&nbsp;This script add a control panel on the Options page.</td>
				<td align="left" style="cursor:crosshair">You MUST also install the DynaScript runtime script below. You also MUST have a validation code to run this script. Ask a site admin for such a code.</td>
			</tr>
			<tr bgcolor="#0b0b2f" onMouseOver="chOn(this)" onMouseOut="chOut(this)" onClick="chClick(this)">
				<td align="left" style="cursor:crosshair">&nbsp;<a href="dynascript/dynascriptruntime.user.js" target="_blank">DynaScript runtime script</a></td>
				<td align="left" style="cursor:crosshair">&nbsp;Adds the necessary functions for the DynaScript to operate.</td>
				<td align="left" style="cursor:crosshair">You MUST also install the DynaScript control panel script above.</td>
			</tr>
			<tr>
				<td align="center" colspan="3" bgcolor="FF0000"><font color="00001C" size="+1"><b>-- Other useful scripts --</b></font></td>
			</tr>
			<tr>
				<th align="left">&nbsp;<u>Script</u></th>
				<th align="left">&nbsp;<u>Details</u></th>
				<th align="left">&nbsp;<u>Notes</u></th>
			</tr>	
			<tr bgcolor="#0b0b2f" onMouseOver="chOn(this)" onMouseOut="chOut(this)" onClick="chClick(this)">
				<td align="left" style="cursor:crosshair">&nbsp;<a href="scripts/alliance_member_stats.js" target="_blank">alliance_member_stats.js</a></td>
				<td align="left" style="cursor:crosshair">&nbsp;Use this script to see useful stats on the alliance member page.</td>
				<td align="left" style="cursor:crosshair">&nbsp;</td>
			</tr>
			<tr bgcolor="#0b0b2f" onMouseOver="chOn(this)" onMouseOut="chOut(this)" onClick="chClick(this)">
				<td align="left" style="cursor:crosshair">&nbsp;<a href="scripts/msg_frame_gnn.user.js" target="_blank">msg_frame_gnn.user.js</a></td>
				<td align="left" style="cursor:crosshair">&nbsp;Use this script see the latest GNN entry in the message frame.</td>
				<td align="left" style="cursor:crosshair">The lag between the real GNN and this is due to lag in the Pardus twitter feed [which is where the data comes from]</td>
			</tr>
			</table>
		</td>
	</tr>
	</table>	
	<div id="tipBox"></div>
</body>
</html>